From: Dmitry Antipov Date: Wed, 16 Oct 2013 09:56:36 +0000 (+0400) Subject: * fns.c (Fstring_as_unibyte): Fix last change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2838 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=17b9dc45a7cc3284351066ecad1895ae17d27484;p=emacs.git * fns.c (Fstring_as_unibyte): Fix last change. --- diff --git a/src/fns.c b/src/fns.c index ceea0306b5f..7a7ddc8b89c 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1009,7 +1009,7 @@ If STRING is multibyte and contains a character of charset if (STRING_MULTIBYTE (string)) { - unsigned char *str = xlispstrdup (string); + unsigned char *str = (unsigned char *) xlispstrdup (string); ptrdiff_t bytes = str_as_unibyte (str, SBYTES (string)); string = make_unibyte_string ((char *) str, bytes);